<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>用户登录</title>
    <link rel="stylesheet"  href="./css/login.css">
</head>

<body>

<form method="get" action="/show">

<div class="login" >
    <h2>登录聊天系统</h2>
    <div class="login_box">
        <!-- required就是不能为空  必须在css效果中有很大的作用 -->
        <input type="text" name='username' id='username' required  />
        <label for="username" >请输入昵称</label>

    </div>

    <div class="login_box">
        <input type="password" name='password' id='password' required="required">
        <label for="password">请输入密码</label>
    </div>

    <a>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <input type="submit"  value="登录">
        <input type="submit" formaction="/register" value="注册">
    </a>


</div>
</form>
</body>
</html>